﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CentaLine.Infrastructure;
using NUnit.Framework;

namespace ETA.UnitTest
{
    [TestFixture]
    public class CacheTest
    {
        [Test]
        public void TestCache()
        {
            var key = "testKey";
            CacheHelper.AddHours(key, DateTime.Now.ToShortDateString(), 2);
            var res = CacheHelper.Get(key);
            Assert.True(res != null);
        }
    }
}
